Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DiffusersModel #1

Merged
merged 21 commits into from
Mar 20, 2024
Merged

Add DiffusersModel #1

merged 21 commits into from
Mar 20, 2024

Conversation

alvarobartt
Copy link
Owner

@alvarobartt alvarobartt commented Mar 20, 2024

Description

This PR adds Diffusers model to support 🤗 diffusers, since its pipelines are a bit different from 🤗 transformers, so the Predictor is different. Besides that, some of the code has been cleaned and properly organized so that there's a common base named Model and then specific subclasses for transformers and diffusers, being TransformersModel and DiffusersModel, respectively.

Note

The image below has been generated in Google Cloud running stabilityai/stable-diffusion-xl-base-1.0 via 🤗diffusers, deployed with vertex-ai-huggingface-inference-endpoints.

image

@alvarobartt alvarobartt added the enhancement New feature or request label Mar 20, 2024
docs/index.md Outdated Show resolved Hide resolved
@alvarobartt alvarobartt merged commit c5a6ca7 into main Mar 20, 2024
4 checks passed
@alvarobartt alvarobartt deleted the diffusers-integration branch March 20, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant